package com.crm.service;

import java.util.List;

import org.springframework.data.domain.Page;

import com.crm.entity.PhotoCategory;

public interface PhotoCategoryService {

	/**
	 * 
	* @Title: getNewsCategory
	* @author  
	* @Description: 获取所有图片类别
	* @return
	* @return List<NewsCategory>
	 */
	List<PhotoCategory> getPhotoCategory();

	/**
	 * 
	* @Title: addNewsCategory
	* @author  
	* @Description: 添加图片类别
	* @param newsCategory
	* @return void
	 */
	void addPhotoCategory(PhotoCategory photoCategory);

	
	/**
	 * 
	* @Title: getPhotosCategoryBycategory
	* @author  
	* @Description: 按条件查询分类带分页
	* @param category
	* @param pageIndex
	* @return
	* @return Page<PhotoCategory>
	 */
	Page<PhotoCategory> getPhotosCategoryBycategory(String category, Integer pageIndex);

}
